// 员工
import Layout from "@/layout";
export default {
  path: "/employees",
  component: Layout,
  children: [
    {
      // 员工
      // path为空字符串表示默认路由
      path: "",
      name: "employees",
      component: () => import("@/views/employees"),
      meta: { title: "员工", icon: "people" },
    },
    {
      path: "excel",
      component: () => import("@/views/Excel"),
      hidden: true,
    },
    {
      path: "detail/:id",
      component: () => import("@/views/employees/detail"),
      hidden: true,
    },
    {
      path: "print/:id",
      component: () => import("@/views/employees/print"),
      hidden: true,
    },
  ],
};
